package edu.xmut.decorator.example;

/**
 * 相当于ConcreteComponent
 * @author 朔风
 * @date 2024-02-27 17:52
 */
public class Person implements ICharacter {

    private String name;

    public Person(String name) {
        this.name = name;
    }

    @Override
    public void show() {
        System.out.println(" 装扮的" +name);
    }
}
